<?php
/**
 * Created by PhpStorm.
 * User: qufan
 * Date: 2016/12/6 0006
 * Time: 22:42
 */
return array(

    'AUDIO_TYPE'=>'NellyMoser',

    'IM_URL'=>'ws://im-lin.moboa.thebdsoft.com:9511',

    'ENCLOSURE_URL' => __ROOT__ . '/fp/datum/',

    'CENTER_ICON_URL' => __ROOT__ . '/fp/imgs/headerico/center.png',

    'USER_ICON_URL'=> __ROOT__ . '/fp/imgs/headerico/',

    'MAILLIST_ICON_URL' => __ROOT__ . '/fp/imgs/mailList/',
    'MESSAGE_IMG_URL' => __ROOT__ . '/fp/enclosures/msg/',

    'USER_ICON_PATH'=> ROOT_PATH . 'fp/imgs/headerico/',
    'MAILLIST_ICON_PATH' => ROOT_PATH . 'fp/imgs/mailList/',

    // APK下载地址
    'APK_LOAD_PATH' => 'http://42.51.41.230:8100',

    // 模版下载
    'MODEL_LOAD_DOC_DUTY' => __ROOT__ . '/fp/masterplate/beonduty.xlsx',
    'MODEL_LOAD_DOC_MESG' => __ROOT__ . '/fp/masterplate/address.xlsx',
    'DEFAULT_USER_ICON'=>array(
        'MALE'=>'default_male.png',
        'FEMALE'=>'default_woman.png'
    ),

    'DEFAULT_MAILLIST_ICON'=>array(
        'MALE'=>'/fp/imgs/mailList/default_male.png',
        'FEMALE'=>'/fp/imgs/mailList/default_woman.png'
    ),


    'IM_CHAT_KEY'=>'yanshi_PHONE_OA_',
    'PRE_VIDEO_URL'=>'',



    'PRE_API_URL' => 'http://42.51.41.230:89/',
//    'PRE_API_URL' => '',



    'PLATFORM'=>array(
        '1'=> array('platform'=>1, 'name'=>'web后台'),
        '2'=> array('platform' => 2, 'name' => 'APP')
    ),

    'MAP_BUTTON' => array(
        '1' => array('class'=>'terminal','title'=>'在线终端','url'=>'mapReport', 'table'=>'MapReport', 'class_id'=>'0'),
        '2' => array('class'=>'havens','title'=>'避难场所', 'url'=>'datumReport?class_id=1','table'=>'DatumHavens', 'class_id'=>'1'),
        '3' => array('class'=>'reserve','title'=>'储备库','url'=>'datumReport?class_id=2', 'table'=>'DatumReserve', 'class_id'=>'2'),
        '4' => array('class'=>'protect','title'=>'防护目标','url'=>'datumReport?class_id=3', 'table'=>'DatumProtect', 'class_id'=>'3'),
        '5' => array('class'=>'rescue','title'=>'救援队伍','url'=>'datumReport?class_id=4', 'table'=>'DatumRescue', 'class_id'=>'4'),
        '6' => array('class'=>'hazard','title'=>'危险源','url'=>'datumReport?class_id=5', 'table'=>'DatumHazardSource', 'class_id'=>'5'),
        '7' => array('class'=>'material','title'=>'物质企业','url'=>'datumReport?class_id=6', 'table'=>'DatumMaterial', 'class_id'=>'6'),
        '8' => array('class'=>'hygiene','title'=>'医疗卫生','url'=>'datumReport?class_id=7', 'table'=>'DatumHygiene', 'class_id'=>'7'),
    ),

    'CLASS_TO_TABLE' => array(
        '1'=> array('name'=> 'DatumHavens', 'needAd' => true, 'hasType'=>true),
        '2'=>array('name'=> 'DatumReserve', 'needAd' => true,'hasType'=>true),
        '3'=>array('name'=> 'DatumProtect', 'needAd' => true,'hasType'=>true),
        '4'=>array('name'=> 'DatumRescue', 'needAd' => true,'hasType'=>true),
        '5'=>array('name'=> 'DatumHazardSource', 'needAd' => true,'hasType'=>true),
        '6'=>array('name'=> 'DatumMaterial', 'needAd' => true,'hasType'=>false),
        '7'=>array('name'=> 'DatumHygiene', 'needAd' => true,'hasType'=>true),
        '8'=>array('name'=> 'DatumKnowledge', 'needAd' => false,'hasType'=>true),
        '9'=>array('name'=> 'DatumCase', 'needAd' => false,'hasType'=>true),
        '10'=>array('name'=> 'DatumLaw', 'needAd' => false,'hasType'=>true),
        '11'=>array('name'=> 'DatumPlan', 'needAd' => false,'hasType'=>true),
        '12'=>array('name'=> 'DatumPolicy', 'needAd' => true,'hasType'=>false),
        '13'=>array('name'=> 'DatumEmresource', 'needAd' => false,'hasType'=>true)

    ),
    // 获取存储位置字段
    'STORE_POSITION' => array(
        '避难场所'=>array('name'=>'避难场所','table'=>'DatumHavens','outer_key'=> 'asylumarea_id'),
        // '通讯保障'=>array('name'=>'通讯保障','table'=>'','outer_key'=> ''),
        '医疗卫生'=>array('name'=>'医疗卫生','table'=>'DatumHygiene','outer_key'=> 'health_id'),
        '物资企业'=>array('name'=>'物资企业','table'=>'DatumMaterial','outer_key'=> 'material_firm_id'),
        '储备库'=>array('name'=>'储备库','table'=>'DatumReserve','outer_key'=> 'storage_id'),
        '救援队伍'=>array('name'=>'救援队伍','table'=>'DatumRescue','outer_key'=> 'team_id'),
        // '运输资源'=>array('name'=>'运输资源','table'=>'','outer_key'=> ''),
    ),
    'FIELD_TO_TITLE' => array(
        'name'=>'名称',
        'address'=>'地址',
        'charge_dept'=>'所属单位',
//        'type'=>'类型',
        'administrative_division_code'=>'区码',
        'administrative_division_name'=>'行政区划分',
        'level'=>'级别',
        'type_name'=>'类别',
        'accommodate_number'=>'可容纳人数',
        'person_charge'=>'负责人',
        'fz_contact_telephone'=>'负责人联系电话',
        'fz_move_phone'=>'负责人移动电话',
        'fz_residence_telephone'=>'负责人住宅电话',
        'fz_fax'=>'负责人传真',
        'fz_email'=>'负责人邮件',
        'contacts'=>'联系人',
        'contacts_office_telephone'=>'联系人办公电话',
        'contacts_move_telephone'=>'联系人移动电话',
        'contacts_residence_telephone'=>'联系人住宅电话',
        'contacts_fax'=>'联系人传真',
        'contacts_email'=>'联系人邮件',
        'communication_mode'=>'应急通信方式',
        'input_time'=>'投入使用时间',
        'use_life'=>'设计使用年限',
        'anti_seismic'=>'抗震设防烈度',
        'area'=>'面积（平方米）',
        'basic_situation'=>'基本情况',
        'traffic_conditions'=>'周边交通情况',
        'remarks'=>'备注',
        'capacity'=>'库容（立方米）',
        'traffic'=>'周边交通情况',
        'affected_form'=>'受灾形式',
        'protected_area'=>'防护区域',
//        'accommodate_number'=>'可容纳人数（人）',
        'protected_level'=>'防护等级',
        'total_number'=>'总人数(人)',
        'monitoring_method'=>'监测方式',
        'reserve_logistics'=>'储备物流',
        'protection_measures'=>'防护措施',
        'preparation_time'=>'预计准备时间（小时）',
        'setdeparture_place'=>'集合出发地点',
        'setup_time'=>'成立时间',
        'duty'=>'职责',
        'equipment_description'=>'主要装备描述',
        'fund_investment'=>'年度经费投入情况',
        'expertise_description'=>'专长描述',
        'rescue_experience'=>'应急救援经历',
        'risk_level'=>'危险等级',
        'disaster_form'=>'可能灾害形式',
        'influence_range'=>'影响范围',
//        'monitoring_method'=>'监测方式',
        'threat_number'=>'威胁人数（人）',
        'area_covered'=>'占地面积（平方米）',
//        'input_time'=>
//        'use_life'=>''
        'control_measures'=>'治理措施',
//        'traffic'=>
        'investment_date'=>'投产日期',
        'production_materials'=>'生产物资',
        'production_ability'=>'生产能力',
        'mechanism_level'=>'机构等级',
        'unique_code'=>'全国唯一识别码',
//        'disaster_form'=>
        'number_of_beds'=>'病床数（张）',
        'number_of_nurses'=>'护士数（人）',
        'ambulance_number'=>'急救车辆数量（辆）',
        'treatment_subject'=>'诊疗科目',
        'treatment_equipment'=>'主要医疗装备',
        'key_word'=>'关键词',
        'source'=>'信息来源',
        'abstract'=>'摘要',
        'content'=>'内容',
        'event_address'=>'事发地点',
        'data_sources'=>'信息来源',
        'happen_time'=>'发生时间',
        'continued_time'=>'持续时间',
        'classification'=>'所属分类',
        'organization_name'=>'颁发机构名称',
        'send_time'=>'发布时间',
        'effective_time'=>'生效时间',
        'apply_range'=>'有效范围',
        'version'=>'预案版本',
//        'send_time'=>
        'explain'=>'说明',
        'formulate_company'=>'制定单位',
        'use_range'=>'使用范围',

        'start_time'=>'适用开始时间',
        'end_time'=>'适用结束时间',
        'notes'=>'编制或修订说明',
        'establish_org_name'=>'编制单位名称',
        'establish_org_code'=>'编制单位编码',
        'publish_org_name'=>'发布单位名称',
        'publish_org_code'=>'发布单位编码',
        'comments'=>'备注',
        'chech_status'=>'案中的审核状态',
        'version_flag'=>'状态',
        'operation_flag'=>'是否有操作手册',
        'event_type'=>'事件类型',
        'class_code'=>'密级',

        // 添加的医药物质
        'num' => '数量',
        'unit' => '单位',
        'mome' => '描述/说明',
        'emResource_type_id' => '物质来源',
        'place_id' => '存储位置',

    ),
);
